package com.example.spring.exercise.service;


import com.example.spring.exercise.service.dto.rouge.BrandData;
import com.example.spring.exercise.service.dto.rouge.RougeInfo;
import org.springframework.data.domain.Page;

import java.util.List;

/**
 * @author : zhayh
 * @Date : 2021-3-31 20:12
 * @Description: 口红商品的数据操作服务
 */

public interface RougeService {
    List<BrandData> getTopBrandData();
    Page<RougeInfo> getRougeByBrandAndPrice(String brandName, Float minPrice, Float maxPrice,
                                            Integer pageIndex, Integer pageSize);
    RougeInfo insert(RougeInfo rougeInfo);

    Page<RougeInfo> getRougeByCountry(String country, Float minPrice, Float maxPrice,
                                      Integer page, Integer size);

    RougeInfo update(Long id, String rougeName);
}
